package cn.bonoon.kernel.web.annotations.components;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * <pre>
 * 当前使用的是kindeditor
 * </pre>
 * @author jackson
 *
 */
@Target(FIELD)
@Retention(RUNTIME)
public @interface AsEditor {
	int height() default 300;
	String[] value() default {};
	EditorToolbar toolbar() default EditorToolbar.STANDARD;
	enum EditorToolbar{ SIMPLE, STANDARD, ALL }
}
